package com.atguigu.lease.web.api.mapper;

import com.atguigu.lease.model.entity.BrowsingHistory;
import com.atguigu.lease.web.api.vo.HistoryItemVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 1
* @description 针对表【browsing_history(浏览历史)】的数据库操作Mapper
* @createDate 2024-08-28 11:00:26
* @Entity com.atguigu.lease.model.entity.BrowsingHistory
*/
public interface BrowsingHistoryMapper extends BaseMapper<BrowsingHistory> {

    List<HistoryItemVo> selectPageItem(Page<HistoryItemVo> page ,@Param("userId") Long userId);
}




